.at_home {
    background-color: #f5f5f5;
    padding-bottom: 20px;

    // 居家标题
    .at_home_t {
        display: flex;
        padding: 25px 10px;

        &>a {
            color: #666;

            &:hover {
                color: #00c39e;
            }
        }
    }

    // 居家轮播图
    .carousel {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;

        &>ul {
            position: absolute;
            top: 0;
            left: -1240px;
            width: 700%;
            transition: all 1s;

            li {
                float: left;

                a {
                    display: block;
                    width: 100%;
                    height: 500px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }

        // 轮播图左按钮
        .carousel_l {
            position: absolute;
            left: 20px;
            top: 50%;
            margin-top: -22px;
            width: 44px;
            height: 44px;
            line-height: 44px;
            text-align: center;
            border-radius: 50%;
            background: rgba(0, 0, 0, .2);
            display: none;
            z-index: 22;

            .icon_l {
                color: #fff;
                font-size: 22px;
            }
        }

        // 轮播图右按钮
        .carousel_r {
            position: absolute;
            right: 20px;
            top: 50%;
            margin-top: -22px;
            width: 44px;
            height: 44px;
            line-height: 44px;
            text-align: center;
            border-radius: 50%;
            background: rgba(0, 0, 0, .2);
            display: none;
            z-index: 22;

            .icon_r {
                color: #fff;
                font-size: 22px;
            }
        }

        .circle {
            position: absolute;
            bottom: 20px;
            left: 50%;
            margin-left: -55px;
            width: 110px;

            li {
                float: left;
                width: 12px;
                height: 12px;
                margin: 5px;
                background: rgba(0, 0, 0, .2);
                border-radius: 6px;
                cursor: pointer;
            }

            .active {
                background-color: #fff;
            }
        }


    }

    // 分类
    .assort {
        margin-top: 20px;
        background-color: #fff;

        .assortTop {
            &>h3 {
                font-size: 28px;
                color: #666;
                font-weight: 400;
                text-align: center;
                line-height: 100px;
            }
        }

        .assortButtom {
            display: flex;
            padding: 0 32px;
            flex-wrap: wrap;
            min-height: 160px;

            .assortB {
                width: 168px;
                height: 160px;

                &>a {
                    text-align: center;
                    display: block;
                    font-size: 16px;

                    &:hover {
                        color: #00c39e;
                    }

                    &>img {
                        width: 100px;
                        height: 100px;
                    }

                    &>p {
                        line-height: 40px;
                    }
                }
            }
        }
    }

    // 分类产品
    .assortGoods {
        background-color: #fff;
        margin-top: 20px;
        position: relative;

        .head {
            &>h3 {
                font-size: 28px;
                color: #666;
                font-weight: 400;
                text-align: center;
                line-height: 100px;
            }

            &>p {
                text-align: center;
                color: #999;
                font-size: 20px;
                position: relative;
                top: -20px;
            }

            .more {
                position: absolute;
                top: 20px;
                right: 20px;
                z-index: 22;
                color: #999;


                &>span {
                    font-size: 16px;
                    vertical-align: middle;
                    margin-right: 4px;

                    // &:hover {
                    //     color: #00c39e;

                    // }

                }

                &>i {
                    font-size: 20px;
                    vertical-align: middle;
                }
            }
        }

        .body {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            padding: 0 65px 30px;

            .goodsItme {
                display: block;
                width: 220px;
                padding: 20px 30px;
                text-align: center;
                transition: all .5s;

                &:hover {
                    box-shadow: 0 0 5px 5px rgba(233, 230, 230, 0.2);
                    transform: scale(1.025);
                }

                &>img {
                    width: 160px;
                    height: 160px
                }

                p {
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    padding-top: 10px;
                }

                .goodsName {
                    font-size: 16px;
                }

                .goodsDesc {
                    color: #999;
                    height: 29px;
                }

                .goodsPrice {
                    padding-top: 10px;
                    color: #cf4444;
                    font-size: 20px;
                }
            }
        }
    }
}